home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / remote / tscnv104.zip / EXAMPLE.CFG next >
Text File  |  1991-08-15  |  21KB  |  597 lines

  1. ; TSCONV; TosScan Converter
  2. ; Copyright 1990, 1991 Mats Wallin  All rights reserved
  3. ;
  4. ; Comments, suggestions etc could be sent to me at: 
  5. ;       2:201/329@fidonet
  6. ;       9:462/110@virnet
  7. ;
  8. ; -------------------------------------------------------------------------
  9. ;
  10. ; Example of a configurationfile for TSCONV
  11. ;
  12. ; This file could be used as is, but I strongly suggest you go through it
  13. ; and do a lot of changes, so it works like you want it to do. There
  14. ; are a lot of options, you could change to make it work the way you would
  15. ; like.
  16. ;
  17. ; -------------------------------------------------------------------------
  18. ;
  19. ; All characters after a ; is comments, and are not processed by TSCONV
  20. ;
  21. ; -------------------------------------------------------------------------
  22. ;
  23. ; There are two kinds of commands, GLOBAL, which is valid for all target
  24. ; systems (supporting this command), and LOCAL, which is valid only for the 
  25. ; target where it's declared. The local part begins with [xxxx] where 
  26. ; xxxx is the name of the target system. Everything before the first 
  27. ; target system is considered as global declarations.
  28. ;
  29. ; Some commands are valid as both global and local, some are not.
  30. ;
  31. ; Valid target systems are:
  32. ;
  33. ;       FrontDoor                       - Guess what?
  34. ;       RemoteAccess                    - "-
  35. ;       TAGlist                         - Textfile with areainformation
  36. ;
  37. ; TAGlist is allowed to occur more than once (max 10 times), so that it's
  38. ; possible to create more than one textfile in the same run, with
  39. ; different areas included and/or different layout.
  40. ;
  41. ; -------------------------------------------------------------------------
  42. ;
  43. ; When more than on example of a command is given, all but the first one
  44. ; is behind a ; character. If you prefer one of these variants of the 
  45. ; command, please remove the ; character.
  46. ;
  47. ; *************************************************************************
  48. ;
  49. ;                           GLOBAL DEFINITIONS
  50. ;
  51. ; *************************************************************************
  52. ;
  53. ; LOG / NOLOG           [Global]
  54. ;
  55. ;       Tells TSCONV that it should write loginformation to TosScan's 
  56. ;       logfile. If enabled, TSCONV will write information about added
  57. ;       and removed areas, and a warning if you have two areas defined with
  58. ;       the same boardnumber.
  59.  
  60. Log                     ; Write loginformation          (default)
  61. ;NoLog                  ; Don't write any loginformation
  62.  
  63.  
  64. ; KEEP                  [Global]
  65. ;
  66. ;       If you have an area, which isn't declared in your TosScan
  67. ;       Setup, you have to tell TSCONV about it, or else TSCONV
  68. ;       will delete it (from the target system). The format is:
  69.  
  70. Keep 45                 ; Keep area with boardnumber 45 [(q) format]
  71. ;Keep D:\MSG\FDECHO     ; Keep area with this path      [(m) format]
  72.  
  73.        
  74. ; AKA / NOAKA           [Global / Local (FD, RA)]
  75. ;
  76. ;       TSCONV will by default make sure you're using the same address
  77. ;       in an area as you have declared in TosScan Setup. If you don't
  78. ;       want TSCONV to do this, use NOAKA.
  79.  
  80. AKA                     ; Use address in TosScan        (default)
  81. ;NoAKA                  ; Don't update the address
  82.  
  83.  
  84. ; ORIGIN / NOORIGIN     [Global / Local (FD, RA)]
  85. ;
  86. ;       The same as AKA, except that ORIGIN is about the origin line.
  87. ;       If enabled (which it is by default) TSCONV makes sure that you're
  88. ;       using the same origin line in an area, as you're doing in TosScan.
  89.  
  90. Origin                  ; Use originline from TosScan   (default)
  91. ;NoOrigin               ; Don't update the originline
  92.  
  93.  
  94. ; FORMAT                [Global / Local (All)]
  95. ;
  96. ;       Specify how the areatitle should be built, from the information in
  97. ;       TosScan Setup. All characters you enter are used exactly as they're
  98. ;       written, except for some formattypes, which begins with a #.
  99. ;
  100. ;               #b      - The areas boardnumber [if TosScan(q)]
  101. ;               #c      - The areacomment
  102. ;               #e      - List of all nodes the area is exported to
  103. ;               #g      - The areagroup
  104. ;               #n      - The areaname
  105. ;               #p      - The area path         [if TosScan(m)]
  106. ;               #r      - The rest of the line will be right justified
  107. ;               #t??    - Tabulate to the specified (??) position,
  108. ;                         ex: #t39 tabs to pos 39, and continues from there.
  109. ;
  110. ;       The type can be entered either in lowercase or uppercase, and are
  111. ;       ignored with most types (#b, #c, #e, #r, #t). With the other types,
  112. ;       (#g, #n, #p) a lowercase letter will result in the text in lowercase,
  113. ;       and an uppercase letter will result in the text in uppercase.
  114. ;
  115. ;       Some examples (supposing the areaname is FDECHO, 
  116. ;       comment 'FrontDoor Support Echo', and group 'F')
  117.  
  118. Format #N, #c #t39 #G   ; FDECHO, FrontDoor Support Echo         F
  119. ;Format #n (#c)         ; fdecho (FrontDoor Support Echo)
  120. ;Format #c#r (#N)       ; FrontDoor Support Echo          (FDECHO)
  121.  
  122.  
  123. ; POINTINFO / NOPOINTINFO [Global / Local (All)]
  124. ;
  125. ;       By default, TSCONV will not include (real) pointaddresses in the
  126. ;       exportlist (#e format type above). To include points, use the
  127. ;       POINTINFO command.
  128.  
  129. NoPointinfo             ; Don't include (real) points (default)
  130. ;Pointinfo              ; Include (real) points in exportlist
  131.  
  132.  
  133. ; ZONEINFO / NOZONEINFO [Global / Local (All)]
  134. ;
  135. ;       By default, TSCONV will display zonenumber in the exportlist
  136. ;       (#e format type above). If this is not desired, use the 
  137. ;       NOZONEINFO command.
  138.  
  139. ZoneInfo                ; Display zone numbers (default)
  140. ;NoZoneInfo             ; Don't display zone numbers
  141.  
  142.  
  143. ; SORT / NOSORT         [Global / Local (FD, TAG)]
  144. ;
  145. ;       Sort the areas by name, comment or title. If not present, or
  146. ;       defined as NOSORT, the areas will not be sorted.
  147.  
  148. NoSort                  ; Don't sort (default)
  149. ;Sort Name              ; Sort by areaname
  150. ;Sort Comment           ; Sort by comment
  151. ;Sort Title             ; Sort by title
  152. ;Sort Path              ; Sort by path          [if TosScan(m)]
  153. ;Sort Board             ; Sort by boardnumber   [if TosScan(q)]
  154. ;Sort Group             ; Sort by areagroup
  155.  
  156.  
  157. ; PASSTHRU / NOPASSTHRU [Global / Local (TAG)]
  158. ;
  159. ;       TSCONV will by default not include your passthru areas in the
  160. ;       TAGlist. If you want the passthru areas in the file, use PASSTHRU
  161.  
  162. NoPassthru              ; Don't include passthru areas (default)
  163. ;Passthru               ; Include passthru areas
  164.  
  165.  
  166. ; FIRSTLINE / NOFIRSTLINE  [Global / Local (TAG)]
  167. ;
  168. ;       Define a textstring that is written as the first line in the
  169. ;       output file. An AREAS.BBS file should (sometimes?) have a first
  170. ;       line with the default originline and the SysOp name.
  171. ;       Note! This text can not contain a ;
  172.  
  173. NoFirstline             ; No firstline (default)        
  174. ;Firstline Wallin's BBS - Stockholm - Sweden ! Mats Wallin
  175.  
  176.  
  177. ; HEADER / NOHEADER     [Global / Local (TAG)]
  178. ;
  179. ;       Insert some text from a file at the beginning of the outputfile.
  180. ;       This file could contain any number of lines, which all will be
  181. ;       copied.
  182. ;       Note! If used in combination with FIRSTLINE, the FIRSTLINE text
  183. ;       will be inserted as the first line, and the HEADERfiles contents
  184. ;       from line 2.
  185.  
  186. NoHeader                ; No header text (default)
  187. ;Header HEADER.TXT      ; Take the header text from HEADER.TXT
  188.  
  189.  
  190. ; FOOTER / NOFOOTER     [Global / Local (TAG)]
  191. ;
  192. ;       Insert some text from a file at the end of the outputfile, after
  193. ;       all lines with areadefinitions. This file could contain any 
  194. ;       number of lines, which all will be copied.
  195.  
  196. NoFooter                ; No footer text (default)
  197. ;Footer FOOTER.TXT      ; Take the footer text from FOOTER.TXT
  198.  
  199.  
  200.  
  201. ; *************************************************************************
  202. ;
  203. ;                           LOCAL DEFINITIONS
  204. ;
  205. ; *************************************************************************
  206. ;
  207. ;                               FrontDoor
  208. ;
  209. ; -------------------------------------------------------------------------
  210.  
  211. [FrontDoor]             ; Starts the local definition for FrontDoor
  212.  
  213. ; AKA / NOAKA           [Global / Local]
  214. ;
  215. ;       See global definition above
  216.  
  217. AKA                     ; Use address in TosScan (default)
  218. ;NoAKA                  ; Don't update the address
  219.  
  220.  
  221. ; ORIGIN / NOORIGIN     [Global / Local]
  222. ;
  223. ;       See global definition above
  224.  
  225. Origin                  ; Use originline from TosScan (default)
  226. ;NoOrigin               ; Don't update the originline
  227.  
  228.  
  229. ; FORMAT                [Global / Local]
  230. ;
  231. ;       See global definition above
  232.  
  233. Format #c#r (#n)
  234.  
  235.  
  236. ; POINTINFO / NOPOINTINFO [Global / Local]
  237. ;
  238. ;       See global definition above
  239.  
  240. NoPointinfo             ; Don't include (real) points (default)
  241. ;Pointinfo              ; Include (real) points in exportlist
  242.  
  243.  
  244. ; ZONEINFO / NOZONEINFO [Global / Local]
  245. ;
  246. ;       See global definition above
  247.  
  248. ZoneInfo                ; Display zone numbers (default)
  249. ;NoZoneInfo             ; Don't display zone numbers
  250.  
  251.  
  252. ; SORT / NOSORT         [Local]
  253. ;
  254. ;       See global definition above
  255.  
  256. NoSort                  ; Don't sort (default)
  257. ;Sort Name              ; Sort by areaname
  258. ;Sort Comment           ; Sort by comment
  259. ;Sort Title             ; Sort by title
  260. ;Sort Path              ; Sort by path          [if TosScan(m)]
  261. ;Sort Board             ; Sort by boardnumber   [if TosScan(q)]        
  262. ;Sort Group             ; Sort by areagroup
  263.  
  264.  
  265. ; ORDER                 [Local]
  266. ;
  267. ;       Sometimes it isn't enough to be able to sort the output with the SORT
  268. ;       command. With the ORDER command, you can specify one or more areas
  269. ;       (one ORDER command / area) that always should be at the top of the 
  270. ;       output in the TAGLIST, or in FD's FOLDER.SYS file.
  271.  
  272. Order FDECHO
  273. Order RA_SUPPORT
  274.  
  275.  
  276. ; DEFAULT               [Local]
  277. ;
  278. ;       The default area status. If no GROUP or AREA line below is defined
  279. ;       for a certain area, these flags are used for that area. For each
  280. ;       GROUP and AREA line below, these flags will be default, but can
  281. ;       be changed on the GROUP or AREA line.
  282. ;
  283. ;       Flags available (all can be preceded with a 'NO'):
  284. ;
  285. ;               RESTRICTED              - The Restricted flag in FD's SETUP
  286. ;               ECHOINFO                - The EchoInfo flag in FD's SETUP
  287. ;               EXPORT                  - The Export flag in FD's SETUP
  288. ;               TRANSLATE               - The Translate flag in FD's SETUP
  289. ;               PRIVATE                 - The Private flag in FD's SETUP
  290. ;               READONLY                - The ReadOnly flag in FD's SETUP
  291. ;               SKIP                    - Skip the area, don't process it
  292. ;
  293. ;       If a flag is not present, TSCONV will not change that flag
  294.  
  295. Default NoRestricted NoEchoInfo Export NoTranslate NoPrivate NoReadOnly
  296.  
  297.  
  298. ; GROUP                 [Local]
  299. ;
  300. ;       With the GROUP command, it's possible to do the same thing as with
  301. ;       the DEFAULT command, but this time only for those areas belonging to
  302. ;       a certain group.
  303. ;
  304. ;       The first parameter should be the group, and the rest the same
  305. ;       as defined for DEFAULT. All flags will default to the same
  306. ;       value as defined with the DEFAULT command.
  307.  
  308. Group A         Translate Private
  309. Group B         Translate ReadOnly
  310. Group C         Restricted
  311. Group D         Translate
  312.  
  313.  
  314. ; AREA                  [Local]
  315. ;
  316. ;       With the AREA command, it's possible to do the same thing as with
  317. ;       the DEFAULT or GROUP command, but this time only for the specified
  318. ;       area.
  319. ;
  320. ;       The first parameter should be the areaname, and the rest the same
  321. ;       flags as defined for DEFAULT. All flags will default to the same
  322. ;       value as defined with the DEFAULT command.
  323. ;
  324. ;       An area defined with an AREA command, will not use any definitions
  325. ;       from the GROUP command.
  326.  
  327. Area FDFC       NoTranslate
  328. Area WARMBOOT   NoTranslate
  329. Area SYSOP.46   NoTranslate
  330.  
  331.  
  332.  
  333.  
  334. ; -------------------------------------------------------------------------
  335. ;
  336. ;                               RemoteAccess
  337. ;
  338. ; -------------------------------------------------------------------------
  339.  
  340. [RemoteAccess]          ; Starts the local definition for RemoteAccess
  341.  
  342. ; AKA / NOAKA           [Global / Local]
  343. ;
  344. ;       See above
  345.  
  346. AKA                     ; Use address in TosScan (default)
  347. ;NoAKA                  ; Don't update the address
  348.  
  349.  
  350. ; ORIGIN / NOORIGIN     [Global / Local]
  351. ;
  352. ;       See above
  353.  
  354. Origin                  ; Use originline from TosScan (default)
  355. ;NoOrigin               ; Don't update the originline
  356.  
  357.  
  358. ; FORMAT                [Global / Local]
  359. ;
  360. ;       See global definition above
  361.  
  362. Format #c#r (#n)
  363.  
  364.  
  365. ; POINTINFO / NOPOINTINFO [Global / Local]
  366. ;
  367. ;       See global definition above
  368.  
  369. NoPointInfo             ; Don't include (real) points (default)
  370. ;PointInfo              ; Include (real) points in exportlist
  371.  
  372.  
  373. ; ZONEINFO / NOZONEINFO [Global / Local]
  374. ;
  375. ;       See global definition above
  376.  
  377. ZoneInfo                ; Display zone numbers (default)
  378. ;NoZoneInfo             ; Don't display zone numbers
  379.  
  380.  
  381. ; DEFAULT               [Local]
  382. ;
  383. ;       The default area status and protection. If no GROUP or AREA line
  384. ;       below is defined for a certain area, these flags and protection
  385. ;       are used for that area. For each GROUP and AREA line below, the
  386. ;       flags and protection defined here will be default, but can be
  387. ;       changed on the GROUP or AREA line.
  388. ;
  389. ;       Flags available (all can be preceded with a 'NO'):
  390. ;
  391. ;               PRIVATE                 - Private messages is allowed
  392. ;               PUBLIC                  - Public messages is allowed
  393. ;               READONLY                - Area is readonly
  394. ;               ALIAS                   - Aliases are allowed in this area
  395. ;               FORCEHANDLE             - Handles are required in this area
  396. ;               COMBINED                - Allow combined access to this area
  397. ;               ECHOINFO                - Add echomail information to messages
  398. ;               FILEATTACH              - Allow file attaches to local messages
  399. ;               SKIP                    - Skip the area, don't process it
  400. ;
  401. ;       Private and Public could be used together, ReadOnly will override
  402. ;       both Private and Public. If neither Private, Public nor ReadOnly
  403. ;       is present (or all of them defined as NOxxx), TSCONV will not change
  404. ;       the area type.
  405. ;
  406. ;       If a flag is not present, TSCONV will not change it.
  407. ;       ECHOINFO will only be allowed in echomail areas, and FILEATTACH only
  408. ;       in local areas.
  409. ;
  410. ;       Protection definitions:
  411. ;
  412. ;               READ:sec[,flag1[,flag2[,...]]]  ; Read protection
  413. ;               WRITE:sec[,flag1[,flag2[,...]]] ; Write protection
  414. ;               SYSOP:sec[,flag1[,flag2[,...]]] ; SysOp protection
  415. ;
  416. ;       Where sec is a security level between 0 and 64000, flag1, flag2 etc
  417. ;       is a required flag in the format A1 - A8, B1 - B8, C1 - C8, D1 - D8.
  418.  
  419. Default Read:10 Write:30,A8 SysOp:100,D3,D4 Public NoAlias
  420.  
  421.  
  422. ; GROUP                 [Local]
  423. ;
  424. ;       With the GROUP command, it's possible to do the same thing as with
  425. ;       the DEFAULT command, but this time only for those areas belonging to
  426. ;       a certain group.
  427. ;
  428. ;       The first parameter should be the group, and the rest the same
  429. ;       as defined for DEFAULT. All flags and protection will default to 
  430. ;       the same value as defined with the DEFAULT command.
  431. ;
  432.  
  433. Group A Read:10 Write:10 Alias
  434. Group B Read:10 ReadOnly
  435. Group D Read:10 Write:30 Public Private
  436. Group H Read:30,A1 Write:30,B1 SysOp:100,B1
  437.  
  438.  
  439. ; AREA                  [Local]
  440. ;
  441. ;       With the AREA command, it's possible to do the same thing as with
  442. ;       the DEFAULT or GROUP command, but this time only for the specified 
  443. ;       area.
  444. ;
  445. ;       The first parameter should be the areaname, and the rest the same
  446. ;       as defined for DEFAULT. All flags and protection will default to
  447. ;       the same value as defined with the DEFAULT command.
  448.  
  449. Area MSG_FROM_SYSOP Read:10 Write:64000 SysOp:64000 ReadOnly Public
  450. Area SECRET         Read:100,D1,D2 Write:100,D1,D2 SysOp:200,D3
  451. Area DUMMY          Skip
  452.  
  453.  
  454.  
  455. ; -------------------------------------------------------------------------
  456. ;
  457. ;                               TAGlist
  458. ;
  459. ; -------------------------------------------------------------------------
  460.  
  461. [TAGlist]               ; Starts the local definition for a textfile
  462.                         ; (This target [TAGlist] can be repeated up to
  463.                         ;  10 times, if you would like several outputfiles
  464.                         ;  with different areas included and/or a 
  465.                         ;  different layout).
  466.  
  467. ; OUTFILE               [Local]
  468. ;
  469. ;       Sets the name of the output file. The default name is the full path
  470. ;       name of TSCONV.EXE, with .TAG as extension.
  471.  
  472. OutFile TSCONV.TAG
  473.  
  474.  
  475. ; FORMAT                [Global / Local]
  476. ;
  477. ;       See global definition above
  478. ;
  479. Format #b#t05#N#t30#e   ; AREAS.BBS format      (q) format
  480. ;Format #P#t25#N#t50#e  ; AREAS.BBS format      (m) format
  481. ;Format #N#t15 #G #c #t60 #b#P  ; Other format
  482.  
  483.  
  484. ; POINTINFO / NOPOINTINFO [Global / Local]
  485. ;
  486. ;       See global definition above
  487.  
  488. NoPointInfo             ; Don't include (real) points (default)
  489. ;PointInfo              ; Include (real) points in exportlist
  490.  
  491.  
  492. ; ZONEINFO / NOZONEINFO [Global / Local]
  493. ;
  494. ;       See global definition above
  495.  
  496. ZoneInfo                ; Display zone numbers (default)
  497. ;NoZoneInfo             ; Don't display zone numbers
  498.  
  499.  
  500. ; SORT / NOSORT         [Local]
  501. ;
  502. ;       See global definition above
  503.  
  504. NoSort                  ; Don't sort (default)
  505. ;Sort Name              ; Sort by areaname
  506. ;Sort Comment           ; Sort by comment
  507. ;Sort Title             ; Sort by title
  508. ;Sort Path              ; Sort by path          [if TosScan(m)]
  509. ;Sort Board             ; Sort by boardnumber   [if TosScan(q)]        
  510. ;Sort Group             ; Sort by areagroup
  511.  
  512.  
  513. ; ORDER                 [Local]
  514. ;
  515. ;       Sometimes it isn't enough to be able to sort the output with the SORT
  516. ;       command. With the ORDER command, you can specify one or more areas
  517. ;       (one ORDER command / area) that always should be at the top of the 
  518. ;       output in the TAGLIST, or in FD's FOLDER.SYS file.
  519.  
  520. Order FDECHO
  521. Order RA_SUPPORT
  522.  
  523.  
  524. ; FIRSTLINE / NOFIRSTLINE [Global / Local]
  525. ;
  526. ;       See global definition above
  527.  
  528. NoFirstLine
  529. ;FirstLine Wallin's BBS ! Mats Wallin
  530.  
  531.  
  532. ; HEADER / NOHEADER     [Global / Local]
  533. ;
  534. ;       See global definition above
  535.  
  536. NoHeader                ; No header text (default)
  537. ;Header HEADER.TXT      ; Take the header text from HEADER.TXT
  538.  
  539.  
  540. ; FOOTER / NOFOOTER     [Global / Local]
  541. ;
  542. ;       See global definition above
  543.  
  544. NoFooter                ; No footer text (default)
  545. ;Footer FOOTER.TXT      ; Take the footer text from FOOTER.TXT
  546.  
  547.  
  548. ; PASSTHRU / NOPASSTHRU [Global / Local]
  549. ;
  550. ;       See global definition above
  551.  
  552. NoPassthru              ; Don't include passthru areas (default)
  553. ;Passthru               ; Include passthru areas
  554.  
  555.  
  556. ; DEFAULT               [Local]
  557. ;
  558. ;       Only used to skip (or not skip) certain areas.
  559. ;
  560. ;       Flags available (all can be preceded with a 'NO'):
  561. ;
  562. ;               Skip                    - Skip the area, don't process it
  563. ;
  564.  
  565. Default NoSkip
  566.  
  567.  
  568. ; GROUP                 [Local]
  569. ;
  570. ;       With the GROUP command, it's possible to do the same thing as with
  571. ;       the DEFAULT command, but this time only for those areas belonging to
  572. ;       a certain group.
  573. ;
  574. ;       The first parameter should be the group, and the rest the same
  575. ;       as defined for DEFAULT. All flags will default to the same value 
  576. ;       as defined with the DEFAULT command.
  577. ;
  578.  
  579. Group Z Skip
  580.  
  581.  
  582. ; AREA                  [Local]
  583. ;
  584. ;       With the AREA command, it's possible to do the same thing as with
  585. ;       the DEFAULT or GROUP command, but this time only for the specified 
  586. ;       area.
  587. ;
  588. ;       The first parameter should be the areaname, and the rest the same
  589. ;       as defined for DEFAULT. All flags will default to the same value 
  590. ;       as defined with the DEFAULT command.
  591.  
  592. Area SECRET Skip
  593.  
  594.  
  595.  
  596. ; End of file ------------------------------------------------------------
  597.